package assist.client.gwt.view.ui;


import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Widget;

public class ClientFactoryMobileImpl extends ClientFactoryDesktopImpl
{
    @UiTemplate("AppContainerMobile.ui.xml")
    interface AppContainerMobileUiBinder extends
        UiBinder<Widget, AppContainerImpl>
    {
    }    
    private static AppContainerMobileUiBinder appContainerBinder = 
        GWT.create(AppContainerMobileUiBinder.class);
    
    //TODO: Make mobile version of the ShowGames by changing XML here.
    @UiTemplate("ShowGamesViewMobile.ui.xml")
    interface ShowGamesViewMobileUiBinder extends
        UiBinder<Widget, ShowGamesViewImpl>
    {
    }    
    private static ShowGamesViewMobileUiBinder showGamesViewBinder = 
        GWT.create(ShowGamesViewMobileUiBinder.class);      
    
    @Override
    protected UiBinder<Widget, ShowGamesViewImpl> getShowGamesViewBinder()
    {       
        return showGamesViewBinder;
    }

    @Override
    protected UiBinder<Widget, AppContainerImpl> getAppContainerBinder()
    {  
        return appContainerBinder;
    }    
}
